import { createRouter, createWebHistory } from "vue-router";
import {routes} from '../router/routes'

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
});
// router.addRoute()//动态路由
export default router;
